package com.nulldev.util.net.dsap;

public class DSAP {

	/*
	 * 
	 * DSAP (Dynamic Socket Allocation Protocol)
	 * 
	 * This protocol is used to create mini peer to peer instances that are isolated from the main server. 
	 * 
	 * DSAP Supports 3 Modes:
	 * - DSAP_GENERAL [Standard]
	 * - DSAP_COMPRESSED [smartCompression used]
	 * - DSAP_SECURE [Encrypted via nCrypt]
	 * 
	 * DSAP Request Method:
	 * checkSupport() -> checkEncSupport() -> requestDSAP(TYPE.TCP/TYPE.UDP) -> getMetadata()[1]
	 * 
	 * [1]:
	 * Returns JSON data, example:
	 * 	"ip": "127.0.0.1",
	 * 	"port": 19222,
	 * 	"mode": 3,
	 * 	"secureStream": false,
	 */
}
